package com.four.shop;

import com.guli.common.utils.JwtUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

/**
 * @Author:wsy
 * @Date: 2021/12/9/15:35
 */

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.four.shop.dao")
public class ShopApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShopApplication.class);
    }

    @Bean
    public JwtUtil jwtUtil() {

        return new JwtUtil();
    }
}
